$mainColor: #3DC094;
.we-icon-back-color{
  display: inline-block;
  line-height: 1;
  padding: 3px 2px;
  background-color:#595959;
  color: #fff;
  &:first-child{
    margin-right: 1px;
  }
}
// 自定义颜色面板样式
.qup-we-color-picker{
  .underline{
    position: absolute;
    left: 50%;
    bottom: 6px;
    width: 12px;
    height: 2px;
    background-color: #333;
    transform: translateX(-50%);
  }
  &.back-color .underline{
    width: 30px;
    bottom: 6px;
    background-color: #fff;
  }
  .w-e-droplist{
    background: #FFFFFF;
    border: 1px solid #e3e3e3;
    box-shadow: 0 2px 6px 0 rgba(0, 0 ,0,0.12);
    border-radius: 2px;
    display: block;
    padding-top: 12px;
    padding-bottom: 6px;
  }
  ul.w-e-block li.w-e-item{
    padding-left: 2px !important;
    padding-right: 2px !important;
  }
  .color-picker{
    position: relative;
    width: 16px;
    height: 16px;
    display: block;
    border-radius: 2px 2px;
    border: 1px solid transparent;
  }
  .w-e-item:last-child{
    &:hover{
      background-color: #fff !important;
    }
  }
}
// 自定义编码图标
.w-e-icon-terminal{
  &:before{
    content: '{ }';
    font-weight: bold;
  }
}
// 自定义工具栏样式
.w-e-toolbar{
  background:#f6f8f9;
  font-size: 14px;
  flex-wrap: nowrap;
  .w-e-icon-checkbox-checked,
  .w-e-icon-row-height,
  .w-e-icon-link,
  .w-e-icon-happy,
  .w-e-icon-image,
  .w-e-icon-play,
  .w-e-icon-table2{
    font-size: 14px;
  }
  p{
    font-size: 14px !important;
  }
  .w-e-menu{
    i{
      color: #595959;
    }
    &.w-e-active i,&.w-e-active b{
      color: $mainColor;
    }

    .w-e-menu-tooltip{
      font-size: 12px;
    }

    .w-e-droplist{
      border-color: #f1f1f1;
      .w-e-dp-title{
        display: none;
      }
      /*.w-e-icon-pencil2:before{
       content: '颜色';
        border: 1px solid #fefefe;
      }
      .w-e-icon-paint-brush:before{
        content: '背景色';
        border: 1px solid #fefefe;
      } */
    }
    .w-e-panel-container .w-e-panel-tab-content{
      line-height: 24px;
      font-size: 12px;
      textarea:focus{
        border-color:$mainColor;
      }
      input[type=text]{
        height: 24px;
        font-size: 12px;
        &::placeholder{
          color: #999;
        }
        &:focus{
          border-bottom: 1px solid $mainColor;
        }
      }
        button{
        color:$mainColor;
      }
    }
  }
}

//自定义拾色器样式
.lake-more-color{
  position: relative;
  width: 204px;
  border-top: 1px solid #e8e8e8;
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 12px 8px 0;
  background-color: #FFFFFF;
  &:hover{
    background-color: #FFFFFF;
  }
  .color-icon{
    display: inline-block;
    width: 17px;
    height: 17px;
    margin-right: 8px;
    border-radius: 50%;
    background-position: center;
    background-image: url(https://gw.alipayobjects.com/mdn/rms_740edc/afts/img/A*G6CzS7jByMIAAAAAAAAAAABkARQnAQ);
  }
  .icon-arrow-right{
    position:absolute;
    right: 12px;
    top: 50%;
    margin-top: 6px;
    width: 6px;
    height: 6px;
    border-left: 6px solid #5a5a5a;
    border-top: 4px solid transparent;
    border-right: 0;
    border-bottom: 4px solid transparent;
    box-sizing: border-box;
    transform: translateY(-50%);

  }
}